package org.springcloud.wisdom.springcloud_03_freshman.student.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 缴费表
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("paid")
public class Paid {
    //学号
    @TableField("wisdom.paid.sno")
    private String sno;
    //姓名
    @TableField("wisdom.paid.sname")
    private String sname;
    //收款人
    @TableField("wisdom.paid.merchat")
    private String merchat;
    //院系
    @TableField("wisdom.paid.sdept")
    private Integer sdept;
    //付费内容
    @TableField("wisdom.paid.payconn")
    private String payconn;
    //总金额
    @TableField("wisdom.paid.money")
    private Double money;
    //订单号
    @TableField("wisdom.paid.payno")
    private String payno;
    //付款时间
   @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
   @JsonFormat(pattern = "yyyy-MM-hh HH:mm:ss",timezone = "Asia/Shanghai")
   @TableField("wisdom.paid.paydt")
    private String paydt;
   //是否缴费
   @TableField("wisdom.paid.status")
    private String status;
}
